<!doctype html>
<html>
	<head>
		<meta charset="utf-8">
		<title>使用帮助</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover" />
		<link href="css/mui.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="css/person.css" />
		<link rel="stylesheet" type="text/css" href="css/help.css" />
	</head>
	<body>
		<header class="mui-bar mui-bar-nav gradient">
			<div style="height: 20px;"></div>
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">使用帮助</h1>
		</header>
		<div class="mui-content mHelpAll" id="app">
			<ul class="mui-table-view" id="th">
				<li class="mui-table-view-cell" v-for="item in dataList">
					<a class="mui-navigate-right">
						{{item.BiaoTi}}
					</a>
					<div class="mHidden">
						<div>
							<a>{{item.NeiRong}}</a>
						</div>
					</div>
				</li>
			</ul>
		</div>
		<script src="js/mui.js"></script>
		<script src="js/jquery.js"></script>
		<script src="js/vue.min.js"></script>
		<script type="text/javascript">
			var app = new Vue({
				el: "#app",
				data: {
					url: "http://112.54.80.235:8038",
					dataList:[]
				},
				mounted: function() {
					var _this = this;
					mui.init();
					mui.plusReady(function() {
						$('.mHelpAll').on('tap'," .mui-table-view-cell", function() {
							$(this).children('.mHidden').toggle();
						})
						$.ajax({
							type: 'get',
							url: _this.url + '/actionapi/Users/SJGetGongGao',
							data: {
								typee: "1"
							},
							dataType: 'json',
							success: function(data) {
								var datas = data.data;
								console.log(JSON.stringify(datas));
								var html = "";
								if (data.Code > 0 ) {
									_this.dataList=datas;
									
								} 
							},
							error: function() {
								mui.toast('GetChildInformation接口有误')
							}
						});
					})
				}
			})
		</script>
	</body>
</html>
